﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;

namespace IBRx {
	public class RealTimeBars : IBResponse {
		public int ReqId { get; private set; }
		public long Time { get; private set; }
		public double Open { get; private set; }
		public double High { get; private set; }
		public double Low { get; private set; }
		public double Close { get; private set; }
		public long Volume { get; private set; }
		public double WAP { get; private set; }
		public int Count { get; private set; }

		[MethodImplAttribute(MethodImplOptions.AggressiveInlining)]
		public RealTimeBars(int reqId, long time, double open, double high, double low, double close, long volume, double WAP, int count) {
			this.ReqId = reqId;
			this.Time = time;
			this.Open = open;
			this.High = high;
			this.Low = low;
			this.Close = close;
			this.Volume = volume;
			this.WAP = WAP;
			this.Count = count;
		}
	}
}
